package model

import "gorm.io/gorm"

type Role struct {
	gorm.Model
	Name        string `gorm:"uniqueIndex"`
	Permissions []Permission
}

type Permission struct {
	gorm.Model
	Name   string
	RoleID uint
}
